package r21310.chap04.zoodemo;

public  abstract class Shape {
    protected double s;

    public Shape(double s, double c) {
        this.s = s;
        this.c = c;
    }

    public Shape() {

    }

    public double getS() {
        return s;
    }

    public void setS(double s) {
        this.s = s;
    }

    public double getC() {
        return c;
    }

    public void setC(double c) {
        this.c = c;
    }

    protected double c;

    public abstract double getArea(double a);

    public abstract double getLength(double b);
}

